<p class="logo">
<a href="{{ pathto(master_doc) }}">
  <img class="logo" width="200" src="{{ pathto('_static/net.jpg', 1) }}" alt="Logo"/>
</a>
</p>